﻿package com.google.code.p.ivans.patternsentities;

public class MenuFactory extends AbstractMenuFactory {

	@Override
	public MenuItem createMenuItem(String title, Handler handler) {
		return new MenuItem(title, handler);
	}

	@Override
	public SubMenu createSubMenu(String title) {
		return new SubMenu(title);
	}

}
